<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:ui="http://java.sun.com/jsf/facelets"  
    xmlns:p="http://primefaces.org/ui">  
<h:head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Sistema Gas</title>
</h:head>
    <h:body>
	
	<h:form>
		<h:outputLabel value="Pesquisar :" />
		<h:inputText value="#{clienteBean.string}" />		
		<h:commandButton value="Pesquisar" action="#{clienteBean.pesquisa}" />
	
	</h:form>
	<br/>
   <p:dataTable id="dataTable" var="cliente" value="#{clienteBean}"
                 paginator="true" rows="7"
                 paginatorTemplate="{CurrentPageReport}  {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}"
                 rowsPerPageTemplate="7">
        
        <p:column>
            <f:facet name="header">
                <h:outputText value="Nome" />
            </f:facet>
            <h:outputText value="#{cliente.nome}" />
        </p:column>
        </p:dataTable>
		
	</h:body>   
</html>